package com.molin.threadTest.threadDemo1;

public class Demo01 {
    public static void main(String[] args) {
        MyThread myThread1=new MyThread();
        MyThread myThread2=new MyThread();
        myThread1.start();
        myThread2.start();
//        多线程程序会有交替执行效果。
    }
}
